<?php

return [
    'gridview'         => [
        'class'          => '\kartik\grid\Module',
        // enter optional module parameters below - only if you need to  
        // use your own export download action or custom translation 
        // message source
        'downloadAction' => 'gridview/export/download',
    // 'i18n' => []
    ],
    'core'             => [
        'class' => 'yiike\core\Module',
    ],
    'user'             => [
        'class'                  => 'dektrium\user\Module',
        'enableUnconfirmedLogin' => true,
        'enableConfirmation'     => FALSE,
        'cost'                   => 12,
        'admins'                 => ['admin'],
        'modelMap' => [
            'RegistrationForm' => [
                'class' => 'yiike\user\models\RegistrationForm',
            ],
            'Token' => [
                'class' => 'yiike\user\models\Token',
            ],
            'Profile' => [
                'class' => 'yiike\user\models\Profile',
            ]
        ],
    ],
    'toker' => [
        'class' => 'yiike\toker\Module',
    ],
    'company' => [
        'class' => 'yiike\company\Module',
    ],
    'store' => [
        'class' => 'yiike\store\Module',
    ],
    'goods' => [
        'class' => 'yiike\goods\Module',
    ],
    'redactor' => [
        'class' => 'yii\redactor\RedactorModule',
        'uploadDir' => '@storage/web/source',
        'uploadUrl' => '@storageUrl/source',
        'imageAllowExtensions'=>['jpg','png','gif']
    ],
    'order' => [
        'class' => 'yiike\order\Module',
    ],

];
